
from django.contrib import admin
from django.urls import path, include

# 1.总路由中注册路由转换器
from django.urls import register_converter
from meiduosy.utils import converters

register_converter(converters.UsernameConverter, 'username')
register_converter(converters.MobileConverter, 'mobile')


urlpatterns = [
    path('admin/', admin.site.urls),

    #users子路由
    path('', include('apps.users.urls')),

    ##2.验证码模块  路由
    path('', include('apps.verifications.urls')),

]
